package club.ljwang.service;

import club.ljwang.entity.PageResult;
import club.ljwang.entity.QueryPageBean;
import club.ljwang.exception.PermissionException;
import club.ljwang.pojo.Permission;

/**
 * @Auther: wangl
 * @Date: 2020/3/9 11:38
 * @Description:
 */
public interface PermissionService {
    PageResult findPage(QueryPageBean queryPageBean);

    void delete(Integer id) throws PermissionException;

    Permission findById(Integer id);

    void edit(Permission permission);

    void add(Permission permission);
}
